package cn.rc.rcsystem.service;

import cn.rc.rcsystem.domain.CarRental;
import cn.rc.rcsystem.dto.CarRentalDto;
import cn.rc.rcsystem.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author director
 * @since 2022-12-09
 */
public interface ICarRentalService extends IService<CarRental> {

    JSONResult rental(CarRental carRental);

    CarRental charter(Long shopId, String carNumber);

    JSONResult grounding(CarRentalDto carRentalDto);

}
